<?php

/**
 * User module bootstrap
 *
 * @author    Mon Zafra <monzee at gmail>
 * @copyright (c)2009 Mon Zafra
 * @license   http://monzee.wordpress.com/license New BSD
 * @version   $Id: Bootstrap.php 38 2009-02-18 17:12:39Z monzee $
 */
class User_Bootstrap extends Mz_Module_Bootstrap
{
    public function init()
    {
        $vr = Zend_Controller_Action_HelperBroker::getStaticHelper('ViewRenderer');
        $vr->initView();

        $view = $vr->view;
        $view->addHelperPath(self::pathTo('/views/helpers'), 'User');

        Zend_Controller_Action_HelperBroker::addPath(
            self::pathTo('/controllers/helpers'), 'User_Helper');
    }

}
